import { MainLeftTree } from "../constant";

export const load = data => ({ type: MainLeftTree.LOAD, data });
export const save = data => ({ type: MainLeftTree.SAVE, data });
export const updateByIndex = data => ({ type: MainLeftTree.UPDATE_BY_INDEX, data });
export const remove = data => ({ type: MainLeftTree.REMOVE, data });